package com.example.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document(collection = "logs")
public class LogBean implements Serializable {

    @Id
    private String id;

    private String typeName;

    private String methodName;

    private String methodArgs;

    private Date date;

}
